package com.qx.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "qx.seckill_commodity")
public class SeckillCommodity implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "deploy_id")
    private Integer deployId;

    @TableField(value = "picture")
    private String picture;

    @TableField(value = "tital")
    private String tital;

    @TableField(value = "info")
    private String info;

    @TableField(value = "original_price")
    private BigDecimal originalPrice;

    @TableField(value = "seckill_price")
    private BigDecimal seckillPrice;

    @TableField(value = "qualify_quantity")
    private Integer qualifyQuantity;

    @TableField(value = "quantity_residue")
    private Integer quantityResidue;

    @TableField(value = "seckill_status")
    private Integer seckillStatus;

    @TableField(value = "create_time")
    private Date createTime;

    @TableField(value = "commodity_id")
    private Integer commodityId;

    private static final long serialVersionUID = 1L;
}